package com.zhangxi.result;

/**
 * @author zhangxi
 * @create 2024-04-20 11:16
 */

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 封装分页查询的结果
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageResult {

    private long total;//总记录数

    private List records; //当前页的数据集合

}
